package cn.leejinki.admin.service;


import cn.leejinki.pojo.TbCategorySecondary;
import cn.leejinki.pojo.LjkResult;

import java.util.Map;

/**
 * 内容维护
 *
 * @author ljk.
 * @create 2018-02-20 上午11:58
 */


public interface ContentService {

    Map<String, Object> getPortalMenuTopList(Integer sEcho, Integer iDisplayStart, Integer iDisplayLength);

    LjkResult savePortalMenuTop(String id, String name, Integer sort_order);

    LjkResult addPortalMenuTop(String id, String name, Integer sort_order);

    Map<String, Object> getCategoryList(Integer sEcho, Integer iDisplayStart, Integer iDisplayLength);

    LjkResult saveCategory(String id, String name, Integer sort_order);

    Map<String,Object> getCategorySecondaryList(Integer sEcho, Integer iDisplayStart, Integer iDisplayLength);

    Map<String,Object> getSearchCategorySecondaryList(String sSearch, Integer sEcho, Integer iDisplayStart, Integer iDisplayLength);

    LjkResult saveCategorySecondary(TbCategorySecondary categorySecondary);
}
